#!/usr/bin/node

const log = console.log;

let pi = Math.PI;

const circle = (r) => {
  function circumference () {
    return 2*pi*r;
  }

  function area(){
    return pi*r*r;
  }

  return {
    area:area,
    circumference:circumference
  };
};
module.exports = circle;
log('03-export-function:',module);
